package com.beordie.service;

import com.beordie.model.FormatNotice;
import com.beordie.model.Notice;
import com.beordie.model.Punishment;

import java.util.List;

/**
 * @Classname INoticeService
 * @Description TODO
 * @Date 2021/7/14 11:38
 * @Created 30500
 */
public interface INoticeService {
    public List<Notice> getAll();
    public List<Notice> getAllByLimit(boolean isLimit, int start, int size);
    public int insert(Notice notice, String driver, String car, String police, String[] punishment);
    public int deleteById(int id);
    public int updateById(Notice notice, String driver, String car, String police, String[] params, int id);
    public Notice findByNumName(String condition);
    public int getCount();
    public FormatNotice getByKey(String number, String way);
    public FormatNotice findByNumber(String condition);
}
